package com.hw.dao;

import com.hw.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeDao {

    List<Employee> findAll();

    Employee findEmployeeById(@Param("id") Integer id);

    int addEmployee(Employee employee);

    int updateEmployeeById(Employee employee);
}
